package com.fhz.kotlintest

import com.bumptech.glide.Glide
import com.chad.library.adapter.base.BaseQuickAdapter
import com.chad.library.adapter.base.viewholder.BaseViewHolder
import androidx.databinding.DataBindingUtil
import androidx.databinding.ViewDataBinding








/**
 * 时间:2022/1/5
 * @author msfeng
 * 简述: TODO
 */
class RVAdapter(layoutId:Int,data:MutableList<Data>) : BaseQuickAdapter<Data,BaseViewHolder>(layoutId,data){


    override fun convert(holder: BaseViewHolder, item: Data) {
        Glide.with(context).load(item.pic).into(holder.getView(R.id.rv_iamge_title))

    }

}